<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui" template="/template/template.xhtml">

		<f:metadata>
		<f:event type="preRenderView"
			listener="#{ingresoVehiculoBean.iniciar}" />
	    </f:metadata>
	    
	    <h:head>
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
			<title>RefAxion | Gestion de Talleres Mecanicos</title>

			<link type="image/x-icon" href="img/favicon.ico" rel="shortcut icon" />
			<link rel="shortcut icon" href="img/favicon.ico" />

			<h:outputScript library="js" name="jquery.js" target="head"/>
			<h:outputScript library="js" name="OnloadScheduler.js" target="head"/>
			<h:outputScript library="js" name="OnLoad.js" target="head"/>

			<h:outputStylesheet library="css" name="theme.css" />
			<h:outputStylesheet library="css" name="RefaxionStyles.css" /> 

 		</h:head>

	<ui:define name="body">
	
	<br/>
	    <br/>
		<h1>Ingreso de Vehiculo para Mantencion</h1>
		<br/>
	
	<h:form id="formIngresoVehiculo" enctype="multipart/form-data">
		<p:outputPanel id="panelInsVeh">
			<p:panel id="panelIngresoVehiculo" header="Ingreso de Vehiculo">
				<table>
					<tr>
						<td><h:outputLabel value="Matricula (Patente) : " /></td>
						<td><p:inputText id="matricula" required="true" /></td>
					</tr>
					<tr>
						<td><h:outputLabel value="Marca : " /></td>
						<td><p:inputText id="marca" required="true" /></td>
					</tr>
					
					<tr>
						<td><h:outputLabel value="Modelo : " /></td>
						<td><p:inputText id="modelo" required="true" /></td>
					</tr>
										
					<tr>
						<td><h:outputLabel value="Color : " /></td>
						<td><p:inputText id="color" required="true" /></td>
					</tr>

				</table>
								
			</p:panel>
			<p:panel id="panelIngresoCliente" header="Ingreso de cliente">
				<table>
					<tr>
						<td><h:outputLabel value="Nombres : " /></td>
						<td><p:inputText id="nombres" required="true" /></td>
					</tr>
					<tr>
						<td><h:outputLabel value="Apellido Paterno : " /></td>
						<td><p:inputText id="apellidoPaterno" required="true" /></td>
					</tr>
					
					<tr>
						<td><h:outputLabel value="Apellido Materno : " /></td>
						<td><p:inputText id="apellidoMaterno" required="true" /></td>
					</tr>
										
					<tr>
						<td><h:outputLabel value="Rut : " /></td>
						<td><p:inputText id="rut" required="true" /></td>
					</tr>

				</table>

			</p:panel>
		</p:outputPanel>
	</h:form>

	</ui:define>
</ui:composition>